﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wicresoft.UnifyShow.Business.Models
{
    /// <summary>
    /// 巡检对象[日常巡检计划]
    /// </summary>
    public class InspectionObject
    {
        /// <summary>
        /// 业务系统巡检列表
        /// </summary>
        public List<BusinessInsp> BusinessInsp { get; set; }
        /// <summary>
        /// 机房保障
        /// </summary>
        public RoomEnvironment Environment { get; set; }
    }

    /// <summary>
    /// 业务系统
    /// </summary>
    public class BusinessInsp
    {
        public decimal ID { get; set; }
        public string Name { get; set; }
        public string IP { get; set; }
    }

    /// <summary>
    /// 机房保障
    /// </summary>
    public class RoomEnvironment
    {
        public Nullable<bool> AirConditioning { get; set; }
        public Nullable<bool> Temperature { get; set; }
        public Nullable<bool> UPS { get; set; }
    }

    public class ServerInsp
    {
        public decimal ID { get; set; }
        public string Name { get; set; }
    }


}
